Esx Settings Depots Offline HostCredentials
The Esx Settings Depots Offline HostCredentials schema contains properties that describe the host's username, password, port number, ssl thumbprint or ssl certificate to be used when connecting to the host using USERNAME_PASSWORD option in the Esx Settings Depots Offline ConnectionSpec AuthenticationType enumerated type.
This schema was added in vSphere API 7.0.2.0.
{
"host_name": "string",
"user_name": "string",
"password": "string",
"port": 0,
"ssl_thumb_print": "string",
"ssl_certificate": "string"
}
The IP address or DNS resolvable name of the host.
This property was added in vSphere API 7.0.2.0.
Specifies the username to be used during the POST /esx/settings/depots/offline?action=createFromHost operation.
This property was added in vSphere API 7.0.2.0.
Specifies the password to be used during the POST /esx/settings/depots/offline?action=createFromHost operation.
This property was added in vSphere API 7.0.2.0.
Specifies the port number of the host to be used during POST /esx/settings/depots/offline?action=createFromHost operation.
This property was added in vSphere API 7.0.2.0.
If missing or null
, port number is set to 443.
This property is deprecated as of vSphere API 9.0.0.0. This field is deprecated and will be removed in future versions. Please use the 'ssl_certificate' field instead.
Specifies the sslThumbPrint of the host to be used during POST /esx/settings/depots/offline?action=createFromHost operation SHA1 hash of the host's SSL certificate.
This property was added in vSphere API 7.0.2.0.
If specified and the server presents that thumbprint, the connection will be established; if missing or null
, the connection will only proceed if the server-presented certificate can be validated by specified sslCertificate.
Specifies the sslCertificate of the host to be used during POST /esx/settings/depots/offline?action=createFromHost operation PEM format of the host's SSL certificate.
This property was added in vSphere API 9.0.0.0.
If specified and the server presents that certificate, the connection will be established; if missing or null
, the connection will only proceed if the server-presented thumbprint can be validated by specified sslThumbprint. Note: sslThumbprint and sslCertificate parameters are mutually exclusive, and should never be used simultaneously. If both are set, this operation will throw InvalidArgument exception.